<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Gwitter - 去中心化社交的未来</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .drop-cap {
            float: left;
            font-size: 4rem;
            line-height: 1;
            font-weight: 700;
            margin-right: 0.5rem;
            margin-top: -0.2rem;
            color: #667eea;
            font-family: 'Noto Serif SC', serif;
        }
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #667eea, transparent);
            margin: 3rem 0;
        }
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
        .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 50%;
            font-weight: 700;
            margin-right: 1rem;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-6">
        <div class="max-w-6xl mx-auto text-center">
            <h1 class="text-5xl md:text-7xl font-bold mb-6 tracking-tight">
                <i class="fab fa-git-alt mr-4"></i>Gwitter
            </h1>
            <p class="text-xl md:text-2xl mb-8 opacity-90">去中心化社交的革命性尝试</p>
            <div class="max-w-3xl mx-auto">
                <p class="text-lg leading-relaxed opacity-80">
                    当社交媒体被少数巨头垄断，当言论自由受到威胁，当个人数据成为商品——
                    是时候重新定义社交网络了。Gwitter，一个基于Git的去中心化Twitter替代方案，
                    让数据主权回归用户手中。
                </p>
            </div>
            <a href="https://github.com/SimonAKing/Gwitter" target="_blank" class="inline-flex items-center mt-8 px-8 py-4 bg-white text-purple-700 font-semibold rounded-full hover:bg-gray-100 transition-all duration-300 shadow-lg">
                <i class="fab fa-github mr-2"></i>
                探索项目
            </a>
        </div>
    </section>

    <!-- Main Content -->
    <main class="max-w-6xl mx-auto px-6 py-12">
        
        <!-- Introduction Card -->
        <div class="bg-white rounded-2xl shadow-xl p-8 mb-12 card-hover">
            <p class="text-lg leading-relaxed text-gray-700">
                <span class="drop-cap">G</span>witter是一个开源项目，旨在构建一个<strong class="text-purple-700">去中心化的Twitter（或X平台）替代方案</strong>，
                其核心理念是利用Git作为后端进行数据存储和同步。它面向那些<strong class="text-purple-700">追求数据主权、反对审查、
                希望拥有更开放社交体验的开发者、技术爱好者以及关注隐私和自由表达的用户群体</strong>。
            </p>
        </div>

        <!-- Core Features Section -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-gray-800">
                <i class="fas fa-cube mr-3 feature-icon"></i>核心功能概述
            </h2>
            <p class="text-lg text-gray-600 mb-8">Gwitter的核心设计围绕Git的分布式特性展开，提供以下关键功能：</p>
            
            <div class="grid md:grid-cols-2 gap-6">
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="flex items-start">
                        <i class="fas fa-code-branch text-3xl text-purple-600 mr-4 mt-1"></i>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">基于Git的版本控制</h3>
                            <p class="text-gray-600">用户发布的内容（"Gweets"）被存储在Git仓库中，实现内容的不可篡改性和版本追溯。这使得所有数据都具备了分布式存储的特性。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="flex items-start">
                        <i class="fas fa-network-wired text-3xl text-purple-600 mr-4 mt-1"></i>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">去中心化社交</h3>
                            <p class="text-gray-600">通过Git的同步机制，理论上可以实现无中心服务器的社交互动，避免单点故障和审查。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="flex items-start">
                        <i class="fas fa-server text-3xl text-purple-600 mr-4 mt-1"></i>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">私有部署潜力</h3>
                            <p class="text-gray-600">作为开源项目，用户可以自行部署，完全掌控自己的社交节点和数据。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="flex items-start">
                        <i class="fab fa-markdown text-3xl text-purple-600 mr-4 mt-1"></i>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">Markdown支持</h3>
                            <p class="text-gray-600">可能允许用户使用Markdown语法发布内容，提供更丰富的文本格式。</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Architecture Visualization -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-gray-800 text-center">
                <i class="fas fa-sitemap mr-3 feature-icon"></i>系统架构概览
            </h2>
            <div class="bg-white rounded-2xl shadow-xl p-8">
                <div class="mermaid">
                    graph TD
                        A[用户] -->|发布Gweet| B[Gwitter客户端]
                        B -->|存储| C[本地Git仓库]
                        C -->|同步| D[远程Git仓库]
                        D -->|拉取| E[其他用户节点]
                        E -->|查看| F[去中心化社交网络]
                        
                        style A fill:#667eea,stroke:#fff,stroke-width:2px,color:#fff
                        style B fill:#764ba2,stroke:#fff,stroke-width:2px,color:#fff
                        style C fill:#667eea,stroke:#fff,stroke-width:2px,color:#fff
                        style D fill:#764ba2,stroke:#fff,stroke-width:2px,color:#fff
                        style E fill:#667eea,stroke:#fff,stroke-width:2px,color:#fff
                        style F fill:#764ba2,stroke:#fff,stroke-width:2px,color:#fff
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Use Cases -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-gray-800">
                <i class="fas fa-lightbulb mr-3 feature-icon"></i>使用场景
            </h2>
            <p class="text-lg text-gray-600 mb-8">Gwitter的概念模型可以适用于以下场景：</p>
            
            <div class="space-y-6">
                <div class="bg-gradient-to-r from-purple-50 to-pink-50 rounded-xl p-6 border-l-4 border-purple-600">
                    <h3 class="text-xl font-semibold mb-3 text-gray-800">
                        <i class="fas fa-shield-alt mr-2 text-purple-600"></i>构建抗审查的社区
                    </h3>
                    <p class="text-gray-700">在对言论自由有严格限制的环境中，Gwitter可以作为一种逃避审查的沟通渠道。</p>
                </div>
                
                <div class="bg-gradient-to-r from-blue-50 to-indigo-50 rounded-xl p-6 border-l-4 border-blue-600">
                    <h3 class="text-xl font-semibold mb-3 text-gray-800">
                        <i class="fas fa-users mr-2 text-blue-600"></i>小范围私密社交网络
                    </h3>
                    <p class="text-gray-700">开发者团队或特定群体可以搭建自己的Gwitter实例，用于内部交流和知识分享，确保数据不被第三方平台掌握。</p>
                </div>
                
                <div class="bg-gradient-to-r from-green-50 to-teal-50 rounded-xl p-6 border-l-4 border-green-600">
                    <h3 class="text-xl font-semibold mb-3 text-gray-800">
                        <i class="fas fa-archive mr-2 text-green-600"></i>个人内容档案
                    </h3>
                    <p class="text-gray-700">用户可以将其Gweet作为个人博客或微型日志进行维护，由于数据存储在Git中，便于长期保存和迁移。</p>
                </div>
            </div>
            
            <div class="mt-8 p-6 bg-purple-100 rounded-xl text-center">
                <p class="text-lg text-purple-800 font-medium">
                    <i class="fas fa-question-circle mr-2"></i>
                    您是否正在寻找一种能让您完全掌控内容发布，而不受平台规则束缚的社交方式？
                </p>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Advantages -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-gray-800">
                <i class="fas fa-star mr-3 feature-icon"></i>优势与特色
            </h2>
            <p class="text-lg text-gray-600 mb-8">Gwitter相较于传统中心化社交媒体，其独特之处在于：</p>
            
            <div class="grid md:grid-cols-2 gap-8">
                <div class="text-center">
                    <div class="inline-flex items-center justify-center w-20 h-20 bg-purple-100 rounded-full mb-4">
                        <i class="fas fa-key text-3xl text-purple-600"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3 text-gray-800">数据主权</h3>
                    <p class="text-gray-600">您的所有内容都存储在您自己的Git仓库中，而非第三方服务器，真正实现"数据属于您"。</p>
                </div>
                
                <div class="text-center">
                    <div class="inline-flex items-center justify-center w-20 h-20 bg-purple-100 rounded-full mb-4">
                        <i class="fas fa-lock-open text-3xl text-purple-600"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3 text-gray-800">抗审查性</h3